//
// Created by liuyang on 2025/5/15.
//

#include "Student.h"



bool operator==(Student &a, Student &b) {
    return a.id==b.id && a.name==b.name && a.password==b.password;
}

Student::Student(int id, string name, string password) {
    this->id=id;
    this->name=name;
    this->password=password;
}

ostream &operator<<(ostream &ofs, Student &s) {
    ofs<<"["<<s.id<<","<<s.name<<","<<s.password<<"]";
    return ofs;
}








